export const getTime = () => {
  const hours = new Date().getHours()
  let hello = ''
  if (hours <= 9) {
    hello = '早上好'
  } else if (hours <= 12) {
    hello = '上午好'
  } else if (hours <= 16) {
    hello = '下午好'
  } else {
    hello = '晚上好'
  }
  return hello
}
